package demo;

/**
 * @ClassName MyArray
 * @Description TODO
 * @Author 李明忠
 * @Date 2025/5/29 16:23
 * @Version 1.0
 */
public class MyArray<T> {
    public MyArray() {

    }
    private Object[] value = new Object[10];

    public T getValue(int i) {
        return (T) value[i];
    }

    public void setValue(int i, T value) {
        this.value[i] = value;
    }
}
